package loop;

public class Demo12 {
  public static void main(String args[]){
	  int result = 0;
	  int i = 0;
	  while(i<=100){
		  result+=i;
		  i++;
	  }
	  
	  System.out.println(result);
  }
}
